package mlz.a_junit;

public class StringUtil {

    public static void printNumber(String name){
        System.out.println("输出名字的长度:" + name.length());
    }

    //断言测试
    public static int getMaxIndex(String data){
        if (data == null){
            return -1;
        }
        return data.length();
    }

}






